extends ../layout

block content
    div.row
        form.form-horizontal(id='updateForm' role='form' method='post' action="/person/update" )
            input(type="hidden" value="#{id}" name="id")
            div.row.form-group.form-group-sm(style='text-align: center')
                div.form-group.form-group-sm
                    label.col-sm-4.control-label="姓名"
                       span(style="color:red;font-weight:bolder")="*"
                    div.col-sm-6
                        input.form-control.input-md( type="text" value='#{personName}' id="personName" name="personName"  )
                div.form-group.form-group-sm
                    label.col-sm-4.control-label="性别"
                       span(style="color:red;font-weight:bolder")="*"
                    div.col-sm-6
                        input.form-control.input-md(type="text" value='#{personSex}' id="personSex"  name="personSex"  )
                div.form-group.form-group-sm
                    label.col-sm-4.control-label="年龄"
                       span(style="color:red;font-weight:bolder")="*"
                    div.col-sm-6
                        input.form-control.input-md(type="text" value='#{personAge}' id="personAge"  name="personAge"  )
                div.form-group.form-group-sm
                    label.col-sm-4.control-label="联系方式"
                       span(style="color:red;font-weight:bolder")="*"
                    div.col-sm-6
                        input.form-control.input-md(type="text" value='#{personContactInformation}' id="personContactInformation" name="personContactInformation"  )

            div.modal-footer
                button.person-preservation.btn.btn-primary(type="submit" )="保存"
                button.btn.btn-default(type="button" data-dismiss="modal")="关闭"

